package com.github.xiaolyuh.entity;

public class CacheLockObject {

    private String key;

    /**
     * 操作标志
     */
    private volatile boolean optFlagFinish = false;

    public CacheLockObject(String key) {
        super();
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public boolean isOptFlagFinish() {
        return optFlagFinish;
    }

    public void setOptFlagFinish(boolean optFlagFinish) {
        this.optFlagFinish = optFlagFinish;
    }
}